package com.hx.base.old;


import java.util.Arrays;
import java.util.List;

/**
 * @author jxlgcmh
 * @date 2019-08-05 17:31
 */
public class Demo2 {
    public static void main(String[] args) {
        String[] flag = {"1", "2", "3"};
        List<String> stringList = Arrays.asList(flag);
        stringList.add("4");
        for (String item : stringList) {
            System.out.println(item);
        }
    }
}
